package com.zdb.demo.design.pattern.structural.decorator.v2;

public abstract class ABattercake {
    protected abstract String getDesc();
    protected abstract int getCost();

    @Override
    public String toString() {
        return getDesc() + " 价格：" + getCost();
    }
}
